package jvlite.aop;

import jvlite.util.LogUtil;

public class DefaultAdvice implements IAdvice {

	@Override
	public void beforeMethod(Object method) {
		LogUtil.info("DefaultAdvice run before "+ method +" advice ");
	}

	@Override
	public void afterMethod(Object method) {
		LogUtil.info("DefaultAdvice run after "+ method +" advice ");
	}

	@Override
	public void whenException(Exception e) {
		LogUtil.info("DefaultAdvice exception "+ e.getMessage());		
	}

}
